<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib uri="/struts-tags" prefix="s"%>
<style type="text/css">
.inlineBlock
{
	display:inline-block;
}
.inline
{
	*display:inline;
}
</style>
<s:hidden name="tableName" id="tableName"></s:hidden>
<s:hidden name="docId" id="docId"></s:hidden>
<s:hidden name="nodeId" id="nodeId"></s:hidden>
<s:hidden id="nodeAttr"></s:hidden>
<s:hidden name="version" id="version"></s:hidden>
<s:hidden name="submitVersion" id="submitVersion"></s:hidden>
<s:hidden name="creatorId" id="creatorId"></s:hidden>
<s:hidden name="currentUserId" id="currentUserId"></s:hidden>
<div style="width:100%; display:inline-block;" align="left">
	<table cellpadding="3">
		<tr>
			<td width="100%" align="left" colspan="2">
				<input id="saveObjBtn" type="button" value="保存" class="btn flowComponent" onclick="saveObj(true)" style="display:none;" />
				<input id="submitObjBtn" type="button" value="提交" class="btn flowComponent" onclick="submitObj()" style="display:none;" />
				<input id="showFlowBtn" type="button" value="流程图" class="btn flowComponent" onclick="showFlow()" style="display:none;" />
			</td>
		</tr>
		<tr id="statusTr" style="display:none;">
			<td align="left" height="25px" style="font-size:18px;" colspan="2">
				[当前环节：<font style="font-weight:bold;"><s:property value="nodeName"/></font>]
				&nbsp;&nbsp;&nbsp;&nbsp;
				[当前状态：<font style="font-weight:bold;"><s:property value="status"/></font>]
			</td>
		</tr>
		<tr id="submitTr" style="display:none;">
			<td align="left" width="60px" height="25px">
				提交至：
			</td>
			<td align="left" width="740px">
				<div id="actorsDiv" style="display:inline-block; float:left;"></div>
			</td>
		</tr>
		<tr id="returnBackTr" style="display:none;">
			<td align="left" width="60px" height="25px">
				退回至：
			</td>
			<td align="left" width="740px">
				<s:select list="returnBackList" onchange="clearActors()" id="returnBack" name="returnBack" listKey="id" listValue="nextNodeName" headerKey="" headerValue="--请选择--" cssClass="flowComponent"></s:select>
			</td>
		</tr>
	</table>
	<hr/>
	<div id="testDiv"></div>
</div>
<script type="text/javascript">
var formName = '<%=request.getParameter("formName")%>';
</script>
<script type="text/javascript" src="${CONTEXT_PATH}/js/login/business/sysManagement/flow/head.js"></script>